#include "T_MapsScn.h"
#include "T_App.h"

bool T_MapsScn::OnInit(GAF_CBundle* pParam)
{
// 	m_pimgBack = GAF_CImage::Create("./res/SecondBack.png");
// 	AddGraphics(m_pimgBack);

	m_pimgMaps = GAF_CImage::Create("./res/RedButton.bmp");

// 	m_mMapsFace.Init(m_pimgMaps, GAF_MapsMode_Tile, GAF_pTHEWINDOW->GetSize_a());

	GAF_SRect _rInside = {2, 2, 106, 31};
	m_mMapsFace.Init(m_pimgMaps, GAF_MapsMode_9Area, GAF_pTHEWINDOW->GetSize_a(), _rInside);


	AddGraphics(&m_mMapsFace);

	return true;
}